<include file="public:top" username="username"/>
<div class="container">
    <div class="maincontent">
        <h3 class="pull-left">
            <i class="glyphicon glyphicon-home"></i>
            班级留言<small>Class message</small>
        </h3>
        <notempty name='isHasInsert'>
            <div class="pull-right addButton">
                <a href="Mess_add/">添加留言</a>
            </div>
        </notempty>
        <div class="clear"></div>
        <div class='hr'></div>
        <div class="row">
            <div class="col-md-4">
                <div><include file="public:left"/></div>
            </div>
            <div class="col-md-8">
                <foreach name="listcount" item="vo" key="key">
                    <div class="pull-left contentPadding">
                        <a href="Messone/le_id/{{$vo.le_id}}">
                            {{$vo.le_content}}
                        </a>
                    </div>
                    <!--删除-->
                    <notempty name='isHasDelete'>
                        <div class="pull-right deleteMar">
                            <a href="MessDel/mid/{{$vo.le_id}}" class="glyphicon glyphicon-trash"></a>
                        </div>
                    </notempty>
                    <div class="pull-right dateTime">
                        {{$vo.le_date|date='Y-m-d',###}}
                    </div>
                    <div class="clear"></div>
                    <div class='hr'></div>
               </foreach>
               <empty name='listcount'>
                   <h5>亲，去创建第一条留言吧！</h5>
               </empty>
               <p>{{$page}}</p>
            </div>
        </div>
    </div>
</div>
<include file="public:footer"/>